package com.cs.contract.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;


/**
 * @Author：zrx
 * @Package：com.cs.domain
 * @Project：RuoYi-Cloud
 * @name：CsFrameManagement
 * @Date：2024/11/28 9:31
 * @Filename：CsFrameManagement
 */
public class CsFrameManagement extends BaseEntity {
    private static final long serialVersionUID = 2057410905062058803L;
    @Excel(name = "框架协议ID")
    private Integer oid;
    @Excel(name = "框架计划ID")
    private Integer jhId;
    @Excel(name = "框架协议编号")
    private String oCode;
    @Excel(name = "框架协议名称")
    private String oName;
    @Excel(name = "签署主体")
    private String oSubject;
    @Excel(name = "相对方ID")
    private Integer hid;
    @Excel(name = "相对方名称")
    private String hName;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @Excel(name = "签署时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date oStartdate;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @Excel(name = "失效时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date oEnddate;
    @Excel(name = "协议文件")
    private String oFile;
    @Excel(name = "协议状态")
    private Integer oHstatus;
    @Excel(name = "协议类型")
    private String oType;
    @Excel(name = "说明")
    private String oDescribe;
    @Excel(name = "审核意见")
    private String oOpinion;
    @Excel(name = "总价")
    private BigDecimal oTotalprice;
    @Excel(name = "是否作废")
    private Integer oCancel;
    private List<CsInventory> csInventoryList;

    public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }

    public Integer getJhId() {
        return jhId;
    }

    public void setJhId(Integer jhId) {
        this.jhId = jhId;
    }

    public String getoCode() {
        return oCode;
    }

    public void setoCode(String oCode) {
        this.oCode = oCode;
    }

    public String getoName() {
        return oName;
    }

    public void setoName(String oName) {
        this.oName = oName;
    }

    public String getoSubject() {
        return oSubject;
    }

    public void setoSubject(String oSubject) {
        this.oSubject = oSubject;
    }

    public Integer getHid() {
        return hid;
    }

    public void setHid(Integer hid) {
        this.hid = hid;
    }

    public String gethName() {
        return hName;
    }

    public void sethName(String hName) {
        this.hName = hName;
    }

    public Date getoStartdate() {
        return oStartdate;
    }

    public void setoStartdate(Date oStartdate) {
        this.oStartdate = oStartdate;
    }

    public Date getoEnddate() {
        return oEnddate;
    }

    public void setoEnddate(Date oEnddate) {
        this.oEnddate = oEnddate;
    }

    public String getoFile() {
        return oFile;
    }

    public void setoFile(String oFile) {
        this.oFile = oFile;
    }

    public Integer getoHstatus() {
        return oHstatus;
    }

    public void setoHstatus(Integer oHstatus) {
        this.oHstatus = oHstatus;
    }

    public String getoType() {
        return oType;
    }

    public void setoType(String oType) {
        this.oType = oType;
    }

    public String getoDescribe() {
        return oDescribe;
    }

    public void setoDescribe(String oDescribe) {
        this.oDescribe = oDescribe;
    }

    public String getoOpinion() {
        return oOpinion;
    }

    public void setoOpinion(String oOpinion) {
        this.oOpinion = oOpinion;
    }

    public BigDecimal getoTotalprice() {
        return oTotalprice;
    }

    public void setoTotalprice(BigDecimal oTotalprice) {
        this.oTotalprice = oTotalprice;
    }

    public Integer getoCancel() {
        return oCancel;
    }

    public void setoCancel(Integer oCancel) {
        this.oCancel = oCancel;
    }

    public List<CsInventory> getCsInventoryList() {
        return csInventoryList;
    }

    public void setCsInventoryList(List<CsInventory> csInventoryList) {
        this.csInventoryList = csInventoryList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("oid", oid)
                .append("jhId", jhId)
                .append("oCode", oCode)
                .append("oName", oName)
                .append("oSubject", oSubject)
                .append("hid", hid)
                .append("hName", hName)
                .append("oStartdate", oStartdate)
                .append("oEnddate", oEnddate)
                .append("oFile", oFile)
                .append("oHstatus", oHstatus)
                .append("oType", oType)
                .append("oDescribe", oDescribe)
                .append("oOpinion", oOpinion)
                .append("oTotalprice", oTotalprice)
                .append("oCancel", oCancel)
                .append("csInventoryList", csInventoryList)
                .toString();
    }
}
